package com.xian.manage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 演出票务管理对象 tb_opera_ticket
 * 
 * @author Hanys
 * @date 2025-04-02
 */
public class OperaTicket extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 演出名称 */
    @Excel(name = "演出名称")
    private String name;

    /** 演出封面 */
    @Excel(name = "演出封面")
    private String image;

    /** 演出类别 */
    @Excel(name = "演出类别")
    private String type;

    /** 演出票价 */
    @Excel(name = "演出票价")
    private BigDecimal price;

    /** 演出日期 */
    @Excel(name = "演出日期")
    private String data;

    /** 余票数量 */
    @Excel(name = "余票数量")
    private Long tickets;

    /** 座位等级 */
    @Excel(name = "座位等级")
    private String seatLevel;

    /** 演出简介 */
    private String description;

    /** 用户评论 */
    private String reviews;

    /** 演出时间 */
    @Excel(name = "演出时间")
    private String time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }

    public void setTickets(Long tickets) 
    {
        this.tickets = tickets;
    }

    public Long getTickets() 
    {
        return tickets;
    }

    public void setSeatLevel(String seatLevel) 
    {
        this.seatLevel = seatLevel;
    }

    public String getSeatLevel() 
    {
        return seatLevel;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setReviews(String reviews) 
    {
        this.reviews = reviews;
    }

    public String getReviews() 
    {
        return reviews;
    }

    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("image", getImage())
            .append("type", getType())
            .append("price", getPrice())
            .append("data", getData())
            .append("tickets", getTickets())
            .append("seatLevel", getSeatLevel())
            .append("description", getDescription())
            .append("reviews", getReviews())
            .append("time", getTime())
            .toString();
    }
}
